package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_score_rules")
public class ScoreRules extends BaseEntity {
        /**
     * 
     */
    @DbTableField(columnName = "c_parent_id", dbType = DbTypeEnum.VARCHAR)
    public String parentId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_content", dbType = DbTypeEnum.VARCHAR)
    public String content ;

    /**
     * 
     */
    @DbTableField(columnName = "c_unit", dbType = DbTypeEnum.VARCHAR)
    public String unit ;

    /**
     * 
     */
    @DbTableField(columnName = "c_level", dbType = DbTypeEnum.INTEGER)
    public Integer level ;

    /**
     * 
     */
    @DbTableField(columnName = "c_score", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal score ;

    /**
     * 
     */
    @DbTableField(columnName = "c_is_new", dbType = DbTypeEnum.INTEGER)
    public Integer isNew ;


}
